<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>新浪微博用户性别分布图</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>

</head>
<body>
    <div id="7cc309f141f24eab8a4baafe88eaf3d5" style="width:60%; height:400px;"></div>
    <script>
        var chart_7cc309f141f24eab8a4baafe88eaf3d5 = echarts.init(
            document.getElementById('7cc309f141f24eab8a4baafe88eaf3d5'), 'white', {renderer: 'canvas'});
        var option_7cc309f141f24eab8a4baafe88eaf3d5 = {
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "bar",
            "name": "\u6027\u522b",
            "data": [
                19683,
                24386,
                4485
            ],
            "barCategoryGap": "70%",
            "label": {
                "show": true,
                "position": "top",
                "margin": 8,
                "formatter": "{b}\uff08{c}\uff09"
            },
            "itemStyle": {
                "color": "#6DAFFF"
            }
        }
    ],
    "legend": [
        {
            "data": [
                "\u6027\u522b"
            ],
            "selected": {
                "\u6027\u522b": true
            },
            "show": true
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0
    },
    "xAxis": [
        {
            "name": "\u6027\u522b",
            "show": true,
            "scale": false,
            "nameLocation": "end",
            "nameGap": 15,
            "gridIndex": 0,
            "inverse": false,
            "offset": 0,
            "splitNumber": 5,
            "minInterval": 0,
            "splitLine": {
                "show": false,
                "lineStyle": {
                    "width": 1,
                    "opacity": 1,
                    "curveness": 0,
                    "type": "solid"
                }
            },
            "data": [
                "\u7537",
                "\u5973",
                "\u672a\u77e5"
            ]
        }
    ],
    "yAxis": [
        {
            "name": "\u4eba\u6570",
            "show": true,
            "scale": true,
            "nameLocation": "end",
            "nameGap": 15,
            "gridIndex": 0,
            "inverse": false,
            "offset": 0,
            "splitNumber": 5,
            "minInterval": 0,
            "splitLine": {
                "show": true,
                "lineStyle": {
                    "width": 1,
                    "opacity": 1,
                    "curveness": 0,
                    "type": "solid"
                }
            }
        }
    ],
    "title": [
        {
            "text": "\u65b0\u6d6a\u5fae\u535a\u7528\u6237\u6027\u522b\u5206\u5e03\u56fe"
        }
    ]
};
        chart_7cc309f141f24eab8a4baafe88eaf3d5.setOption(option_7cc309f141f24eab8a4baafe88eaf3d5);
    </script>
</body>
</html>
